$(document).ready(function(){
	'use strict'
	paper.install(window);
	paper.setup(document.getElementById('mainCanvas'));
	//TODO
	/*
	var c;
	//c=Shape.Circle(200,200,50);
	//c.fillColor="green";
	for(var x=25; x<400; x+=50)
		for(var y=25; y<400; y+=50){
			c=Shape.Circle(x,y,20);
			c.fillColor='green';
		}
		*/
	var c=Shape.Circle(200,200,80);
	c.fillColor='black';
	var text=new PointText(200,200);
	text.justification='center';
	text.fillColor='white';
	text.fontSize=20;
	text.content='hello world';
	var tool=new Tool();
	tool.onMouseDown=function(event){
		var c;
		c=Shape.Circle(event.point, 20);
		c.fillColor='green';
	}
	
	
	paper.view.draw();
	
	
	//console.log('main.js loaded');
})